﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ASTViewer
{
    class ExpAST : AST
    {
        public ExpAST() { m_name = "Exp"; }
        public ExpAST(AST parent) : base(parent) { m_name = "Exp"; }

        public override AST  Clone() 
        {
            ExpAST ast = new ExpAST();
            ast.m_ops = m_ops;
            foreach (AST c in m_children)
                ast.m_children.Add(c.Clone());
      
            return ast;
        }

    }
}
